package com.example.bbs.dao;

import com.example.bbs.bean.Bbstype;
import com.example.bbs.bean.BbstypeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface BbstypeMapper {
    long countByExample(BbstypeExample example);

    int deleteByExample(BbstypeExample example);

    int deleteByPrimaryKey(Integer typeid);

    int insert(Bbstype record);

    int insertSelective(Bbstype record);

    List<Bbstype> selectByExample(BbstypeExample example);

    Bbstype selectByPrimaryKey(Integer typeid);

    Bbstype selectByTypeName(String typename);

    int updateByExampleSelective(@Param("record") Bbstype record, @Param("example") BbstypeExample example);

    int updateByExample(@Param("record") Bbstype record, @Param("example") BbstypeExample example);

    int updateByPrimaryKeySelective(Bbstype record);

    int updateByPrimaryKey(Bbstype record);
}